﻿using MotorLibrary.Repository.DTO;
using System.Collections.Generic;

namespace WebMotor.Controllers
{
    public interface IEndpointController
    {
        IList<EndpointDTO> Get();
        EndpointDTO Get(long id);
        EndpointDTO Post(EndpointDTO dto);
        EndpointDTO Put(long id, EndpointDTO dto);
        EndpointDTO Delete(long id);
        IList<EndpointDTO> FilterByTipo(long tipoID);
    }
}
